package command;

public abstract class Command {

    Receiver receiver;
    public Command(Receiver receiver){
        this.receiver = receiver;
    }
    public void execute(){
        System.out.println( String.format("%s start to play!" , receiver.getReceiverName()) );
        receiver.exCute();
    };

}
